mirror of
https://github.com/gchq/CyberChef
synced 2026-01-06 02:23:20 +00:00
'BSON serialise' errors are now thrown correctly
This commit is contained in:
@@ -29,7 +29,7 @@ const BSON = {
|
||||
const data = JSON.parse(input);
|
||||
return bson.serialize(data).buffer;
|
||||
} catch (err) {
|
||||
return err.toString();
|
||||
throw err.toString();
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user