Describe the bug
When running a task that completes with at least one error log output, the task is not marked as having any anomalies (as shown in the documentation) and an error_log_count of 0 is reported to web hooks.
The following messages have been logged:
Traceback (most recent call last):
ValueError: fake value error
2021-03-16 20:24:39 [root] ERROR this is some logged error message
The messages are highlighted in red and partially underlined in the task log shown on the Crawlab interface, indicating that they should have been detected as anomalies.
To Reproduce
Steps to reproduce the behavior:
Create a spider that produces some error log messages
Optional: Add a web hook to the spider
Run the spider
Expected behavior
The task should be reported as having produced an anomaly.
Notes
The task was short running with a total run time of 2 seconds.
Describe the bug
When running a task that completes with at least one error log output, the task is not marked as having any anomalies (as shown in the documentation) and an
error_log_count
of 0 is reported to web hooks.The following messages have been logged:
The messages are highlighted in red and partially underlined in the task log shown on the Crawlab interface, indicating that they should have been detected as anomalies.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The task should be reported as having produced an anomaly.
Notes