common, api: Log view exception traceback at DEBUG level only
This prevents polluting pytest output with those tracebacks.