AddToAction List colours
This commit is contained in:
12
GoogleAPI.cs
12
GoogleAPI.cs
@@ -107,12 +107,12 @@ namespace AiQ_GUI
|
||||
}
|
||||
else
|
||||
{
|
||||
return "Last serial number not found";
|
||||
return $"Last serial number not found{Level.ERROR}";
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return $"ERROR: {ex.Message}";
|
||||
return $"ERROR: {ex.Message}{Level.ERROR}";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -148,12 +148,12 @@ namespace AiQ_GUI
|
||||
}
|
||||
else
|
||||
{
|
||||
return "Serial number not found";
|
||||
return $"Serial number not found{Level.ERROR}";
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return $"ERROR: {ex.Message}";
|
||||
return $"ERROR: {ex.Message}{Level.ERROR}";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ namespace AiQ_GUI
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return "Failed to update spreadsheet data, please check manually" + ex.Message;
|
||||
return $"Failed to update spreadsheet data, please check manually{Level.ERROR}" + ex.Message;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -225,7 +225,7 @@ namespace AiQ_GUI
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return "Failed to update spreadsheet data, please check manually" + ex.Message;
|
||||
return $"Failed to update spreadsheet data, please check manually{Level.WARNING}" + ex.Message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user