mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
i forgot you can do this
This commit is contained in:
parent
dec04ecbd1
commit
1fda39bfb5
@ -20,14 +20,11 @@ namespace Bloxstrap.Utility
|
||||
if (_loadStatus != AssemblyLoadStatus.Successful)
|
||||
_loadStatus = AssemblyLoadStatus.Successful;
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch (FileNotFoundException ex)
|
||||
{
|
||||
App.Logger.WriteLine(LOG_IDENT, $"Failed to create a shortcut for {lnkPath}!");
|
||||
App.Logger.WriteException(LOG_IDENT, ex);
|
||||
|
||||
if (ex.GetType() != typeof(FileNotFoundException))
|
||||
throw;
|
||||
|
||||
if (_loadStatus == AssemblyLoadStatus.Failed)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user