assert non-error obj pass to app.onerror, fixed #287
Merge pull request #288 from dead-horse/issue287

asset non-error obj in app.onerror, fixed #287