Skip to content

Commit b47b53e

Browse files
authored
update output of elasticapm test management command (#727)
We are not able to show an URL to the error, so we explain how the user can find the error in Kibana themselves.
1 parent ce46b99 commit b47b53e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

elasticapm/contrib/django/management/commands/elasticapm.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,9 @@ def handle_test(self, command, **options):
152152
client.capture_exception()
153153
if not client.error_logger.errors:
154154
self.write(
155-
"Success! We tracked the error successfully! You should be"
156-
" able to see it in a few seconds at the above URL"
155+
"Success! We tracked the error successfully! \n"
156+
"You should see it in the APM app in Kibana momentarily. \n"
157+
'Look for "TestException: Hi there!" in the Errors tab of the %s app' % client.config.service_name
157158
)
158159
finally:
159160
client.close()

0 commit comments

Comments
 (0)