From adc83588e269866d01bde579e075405939b08434 Mon Sep 17 00:00:00 2001 From: Roman Prilipskii Date: Wed, 9 Nov 2022 07:24:38 +0400 Subject: [PATCH 15/16] Add a default None value to the LeappRuntimeError field --- leapp/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leapp/exceptions.py b/leapp/exceptions.py index ef9d647..d6bbf00 100644 --- a/leapp/exceptions.py +++ b/leapp/exceptions.py @@ -109,7 +109,7 @@ class UnknownCommandError(LeappError): class LeappRuntimeError(LeappError): - def __init__(self, message, exception_info): + def __init__(self, message, exception_info=None): super().__init__(message) self.exception_info = exception_info -- 2.39.0