+ add FileNotFound Message

This commit is contained in:
oleting
2020-12-26 16:24:35 +01:00
parent 9d3862ccd7
commit 2af5d22495

View File

@@ -139,6 +139,9 @@ class Gui:
except ScopeNotFoundException as SnFe: except ScopeNotFoundException as SnFe:
logging.error(('||ScopeNotFoundExeption|| Failed to create Image with values = ' + str(values))) logging.error(('||ScopeNotFoundExeption|| Failed to create Image with values = ' + str(values)))
sg.popup_error((str(SnFe))) sg.popup_error((str(SnFe)))
except FileNotFoundError as FnFe:
logging.error(('||FileNotFoundError|| Failed to create Image with values = ' + str(values)))
sg.popup_error((str(FnFe) + 'File ' + str(file_path) + ' or ' + str(output_path) + ' is not reachable.'))
except: except:
logging.error( logging.error(
('Failed to create Image with values = ' + str(values))) ('Failed to create Image with values = ' + str(values)))