Skip to content

Commit

Permalink
Stringify error object when “Incompatible putAdapter”
Browse files Browse the repository at this point in the history
  • Loading branch information
lucksus committed Dec 15, 2023
1 parent eb2b7fb commit 140525d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor/src/core/LanguageController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ export default class LanguageController {
address = await putAdapter.addressOf(content);
}
} catch (e) {
throw new Error(`Incompatible putAdapter in Languge ${JSON.stringify(lang)}\nError was: ${e}`)
throw new Error(`Incompatible putAdapter in Languge ${JSON.stringify(lang)}\nError was: ${JSON.stringify(e)}`)
}

// This makes sure that Expression references used in Links (i.e. in Perspectives) use the aliased Language schemas.
Expand Down

0 comments on commit 140525d

Please sign in to comment.