Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails ungracefully when image files do not obey MMQ DSL #6

Open
hparra opened this issue Nov 6, 2013 · 0 comments
Open

Fails ungracefully when image files do not obey MMQ DSL #6

hparra opened this issue Nov 6, 2013 · 0 comments
Labels

Comments

@hparra
Copy link
Owner

hparra commented Nov 6, 2013

At parseFilename

/Users/hparra/Repositories/background-imager/lib/image-filename-helper.js:43
            queries = results[2];
                             ^
TypeError: Cannot read property '2' of null
    at Object.ImageFilenameHelper.parseFilename (/Users/hparra/Repositories/background-imager/lib/image-filename-helper.js:43:30)
    at Object.ImageFilenameHelper.getClassname (/Users/hparra/Repositories/background-imager/lib/image-filename-helper.js:211:21)
    at Object.BackgroundImager.getImageFileInfo (/Users/hparra/Repositories/background-imager/lib/background-imager.js:227:28)
    at /Users/hparra/Repositories/background-imager/lib/background-imager.js:252:18
    at Array.map (native)
    at Object.BackgroundImager.getImageFileInfoArray (/Users/hparra/Repositories/background-imager/lib/background-imager.js:249:30)
    at Object.BackgroundImager.createMediaRules (/Users/hparra/Repositories/background-imager/lib/background-imager.js:308:14)
    at /Users/hparra/Repositories/background-imager/lib/background-imager-cli.js:36:17
    at Object.oncomplete (fs.js:107:15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant