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:
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