parse error.stack instead of error object itself