Exceptions showing up as "[object Object]"