mirror of
https://github.com/janoside/btc-rpc-explorer.git
synced 2026-08-13 12:33:13 +02:00
error handling in error handler :/
This commit is contained in:
parent
0706dd5050
commit
209b2c2f07
1 changed files with 1 additions and 1 deletions
|
|
@ -1113,7 +1113,7 @@ router.get("/block-height/:blockHeight", asyncHandler(async (req, res, next) =>
|
|||
next();
|
||||
|
||||
} catch (err) {
|
||||
res.locals.userMessageMarkdown = `Failed loading block: height=**${blockHeight}**`;
|
||||
res.locals.userMessageMarkdown = `Failed loading block: height=**${req.params.blockHeight}**`;
|
||||
|
||||
res.locals.pageErrors.push(utils.logError("389wer07eghdd", err));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue