mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-10 22:00:05 +00:00
style: lint
This commit is contained in:
@@ -3,7 +3,7 @@ export class ErrorResponse {
|
||||
|
||||
constructor(message: string, details?: any, raw?: any) {
|
||||
let detailsString = details
|
||||
|
||||
|
||||
if (typeof details !== 'object') {
|
||||
try {
|
||||
detailsString = JSON.parse(details)
|
||||
|
||||
Reference in New Issue
Block a user