Fix #28


Now we display better error messages (most useful for custom queries of long-running jobs).