mirror of
https://github.com/sasjs/adapter.git
synced 2026-04-12 00:43:13 +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