+ add FileNotFound Message

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

View File

@@ -134,11 +134,14 @@ class Gui:
title='Created') title='Created')
except JavaSyntaxError as JsE: except JavaSyntaxError as JsE:
logging.error(('||SyntaxError in Java File||Failed to create Image with values = ' + str(values))) logging.error(('||SyntaxError in Java File|| Failed to create Image with values = ' + str(values)))
sg.popup_error((str(JsE))) sg.popup_error((str(JsE)))
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)))