mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Finished the remaing bot commands
This commit is contained in:
parent
0f3c6e6be9
commit
aa62646f0f
23 changed files with 1041 additions and 287 deletions
|
|
@ -182,7 +182,7 @@ namespace ServerManagerTool.Windows
|
|||
|
||||
var profile = ServerProfileSnapshot.Create(server.Profile);
|
||||
|
||||
var exitCode = await Task.Run(() => app.PerformProfileBackup(profile));
|
||||
var exitCode = await Task.Run(() => app.PerformProfileBackup(profile, CancellationToken.None));
|
||||
if (exitCode != ServerApp.EXITCODE_NORMALEXIT && exitCode != ServerApp.EXITCODE_CANCELLED)
|
||||
{
|
||||
throw new ApplicationException($"An error occured during the backup process - ExitCode: {exitCode}");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue