Print warning message when a job throws an exception

Fixes #7
Print stack trace when a job throws an exception