removed detail from default behavior

This commit is contained in:
Jakub Trllo 2024-09-02 13:48:31 +02:00
parent 90bc20a783
commit 2c362fb35f

View file

@ -53,10 +53,6 @@ class PublishErrorInfo:
detail=exc.detail,
)
title = "This is not your fault"
detail = (
"Please report the error to your pipeline support"
" using one of the options below."
)
if isinstance(exc, KnownPublishError):
msg = str(exc)
else:
@ -64,7 +60,7 @@ class PublishErrorInfo:
"Something went wrong. Send report"
" to your supervisor or Ynput team."
)
return cls(msg, title, detail)
return cls(msg, title)
class PublishReportMaker: