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:
parent
7cf7febc5c
commit
fae2980692
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user