kopia lustrzana https://github.com/dgtlmoon/changedetection.io
Make link to notification debug log easier to find (#1130)
rodzic
1174b95ab4
commit
ab28f20eba
|
@ -1368,7 +1368,7 @@ def notification_runner():
|
||||||
# UUID wont be present when we submit a 'test' from the global settings
|
# UUID wont be present when we submit a 'test' from the global settings
|
||||||
if 'uuid' in n_object:
|
if 'uuid' in n_object:
|
||||||
datastore.update_watch(uuid=n_object['uuid'],
|
datastore.update_watch(uuid=n_object['uuid'],
|
||||||
update_obj={'last_notification_error': "Notification error detected, please see logs."})
|
update_obj={'last_notification_error': "Notification error detected, goto notification log."})
|
||||||
|
|
||||||
log_lines = str(e).splitlines()
|
log_lines = str(e).splitlines()
|
||||||
notification_debug_log += log_lines
|
notification_debug_log += log_lines
|
||||||
|
|
|
@ -96,7 +96,7 @@
|
||||||
<div class="fetch-error">{{ watch.last_error }}</div>
|
<div class="fetch-error">{{ watch.last_error }}</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if watch.last_notification_error is defined and watch.last_notification_error != False %}
|
{% if watch.last_notification_error is defined and watch.last_notification_error != False %}
|
||||||
<div class="fetch-error notification-error">{{ watch.last_notification_error }}</div>
|
<div class="fetch-error notification-error"><a href="{{url_for('notification_logs')}}">{{ watch.last_notification_error }}</a></div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if not active_tag %}
|
{% if not active_tag %}
|
||||||
<span class="watch-tag-list">{{ watch.tag}}</span>
|
<span class="watch-tag-list">{{ watch.tag}}</span>
|
||||||
|
|
Ładowanie…
Reference in New Issue