Skip to content

Commit

Permalink
Add suspendmanager reason descriptions to more cases
Browse files Browse the repository at this point in the history
  • Loading branch information
NicksWorld committed Jan 8, 2025
1 parent 9dd1ce7 commit dd1280f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions plugins/suspendmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,18 @@ inline bool isExternalReason(Reason reason) {

static string reasonToString(Reason reason) {
switch (reason) {
case Reason::DEADEND:
return "Blocks another build job";
case Reason::UNDER_WATER:
return "Jobsite is submerged";
case Reason::BUILDINGPLAN:
return "Managed by buildingplan";
case Reason::RISK_BLOCKING:
return "May block another build job";
case Reason::UNSUPPORTED:
return "Would collapse immediately";
case Reason::ERASE_DESIGNATION:
return "Waiting for carve/smooth/engrave";
case Reason::DEADEND:
return "Blocks another build job";
case Reason::UNSUPPORTED:
return "Would collapse immediately";
case Reason::ITEM_IN_JOB:
return "Blocked by an unmovable item";
default:
Expand Down

0 comments on commit dd1280f

Please sign in to comment.