fix: stringify object in HypaProcesser to display actual error content instead of [object Object] (#753)
# PR Checklist - [x] Have you checked if it works normally in all models? *Ignore this if it doesn't use models.* - [x] Have you checked if it works normally in all web, local, and node hosted versions? If it doesn't, have you blocked it in those versions? - [ ] Have you added type definitions? # Description  The error messages were not properly displayed, showing [object Object] instead of the actual content. <br>  This PR improves error handling to display actual error content.
This commit is contained in:
@@ -106,7 +106,7 @@ export class HypaProcesser{
|
||||
|
||||
|
||||
if(!gf.ok){
|
||||
throw gf.data
|
||||
throw JSON.stringify(gf.data)
|
||||
}
|
||||
|
||||
const result:number[][] = []
|
||||
|
||||
Reference in New Issue
Block a user