1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Remove dead code

This commit is contained in:
sarayourfriend 2024-03-29 17:39:15 +11:00
parent 7cf7febc5c
commit fae2980692
No known key found for this signature in database

View File

@ -138,13 +138,6 @@ export class RenderingMWs {
const d = err.detailsStr; const d = err.detailsStr;
delete err.detailsStr; delete err.detailsStr;
console.log(err); console.log(err);
if (err.detailsStr) {
try {
console.log('details:', JSON.stringify(err.detailsStr));
} catch (_) {
console.log(err.detailsStr);
}
}
err.detailsStr = d; err.detailsStr = d;
delete err.details; // do not send back error object to the client side delete err.details; // do not send back error object to the client side