mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 22:17:51 +01:00
Shows an error message when the interface DLL fails to load
This commit is contained in:
@@ -80,11 +80,11 @@ namespace TGInstallerWrapper
|
||||
Version = ITGSService.GetMethod(InterfaceServiceInterfaceVersion);
|
||||
PrepareForUpdate = ITGSService.GetMethod(InterfaceServiceInterfacePrepareForUpdate);
|
||||
}
|
||||
catch
|
||||
catch (Exception e)
|
||||
{
|
||||
InterfaceAssembly = null;
|
||||
VersionLabel.Text = "Error: (Could not load interface dll)";
|
||||
return;
|
||||
MessageBox.Show(String.Format("An error occurred while loading {0} (This is an easily preventable bug, please report it)! Error: {1}", InterfaceDLL, e.ToString()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user