Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

improve error handling and messaging #482

Merged
merged 2 commits into from
Sep 12, 2012
Merged

improve error handling and messaging #482

merged 2 commits into from
Sep 12, 2012

Conversation

FabianFrank
Copy link
Contributor

notify the user with more meaningful messages when trying to run mojits that don't exist or are not configured correctly.

notify the user with more meaningful messages when trying to run mojits that don't exist or are not configured correctly.
@FabianFrank
Copy link
Contributor Author

This also solves a production problem for us, where we might see an error log like
ERROR Server OutputHandler: Error 500: Cannot read property 'url' of undefined

but don't know which mojit should have been executed and therefore don't know what might be going on. After this PR we'll see the name of the Mojit that failed:
ERROR Server OutputHandler: Error 500: Unable to compute assets root for mojit "FooBar". This usually happens when trying to run a mojit that does not exist.

@isao
Copy link
Contributor

isao commented Sep 12, 2012

+1 though not sure why a store unit test is failing on Travis (node .8 only)

@FabianFrank
Copy link
Contributor Author

@isao it seems we are good to merge ;-)

isao pushed a commit that referenced this pull request Sep 12, 2012
improve error handling and messaging
thanks @FabianFrank
@isao isao merged commit e1359c6 into YahooArchive:develop Sep 12, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants