Skip to content

Commit

Permalink
Better error report
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Jan 16, 2025
1 parent 5a7ce63 commit 1e284d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/test_text_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_editor_loads(live_server, page, text_plugin, superuser):

def handle_console_message(msg):
if msg.type == "error":
console_errors.append(msg.text)
console_errors.append(f"{msg.text}: {msg.location} - {msg.args}")

page.goto(f"{live_server.url}{admin_reverse('cms_placeholder_edit_plugin', args=(text_plugin.pk,))}")

Expand Down

0 comments on commit 1e284d9

Please sign in to comment.