Code monitors: fix error handling
Created by: camdencheek
This fixes an issue where errors from search would be swallowed, causing confusing things on the logs page because there would be complete runs that aren't showing their errors.
Test plan
Tested that the error message now appears in the logs page.