Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update debug_toolbar/static/debug_toolbar/js/toolbar.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
  • Loading branch information
codingjoe and Copilot authored Apr 21, 2026
commit 3147022a6b7ed66c453ec99c829d951aa1c13983
5 changes: 3 additions & 2 deletions debug_toolbar/static/debug_toolbar/js/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,9 @@ const djdt = {
const data = await ajax(dest);
replaceToolbarState(encodedRequestId, data);
} catch (error) {
throw new Error(
`"${error.name}" occurred within django-debug-toolbar: ${error.message}`
console.error(
`"${error.name}" occurred within django-debug-toolbar: ${error.message}`,
error
);
}
}
Expand Down
Loading