1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-23 01:27:14 +02: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;
delete err.detailsStr;
console.log(err);
if (err.detailsStr) {
try {
console.log('details:', JSON.stringify(err.detailsStr));
} catch (_) {
console.log(err.detailsStr);
}
}
err.detailsStr = d;
delete err.details; // do not send back error object to the client side