Skip to content

Commit b0f459c

Browse files
committed
use plain Exception
1 parent 00e8a2e commit b0f459c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/lib/UnitySQL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ public function getUserExpirationWarningDaysSent(string $uid): array
315315
$disable = jsonDecode($record["disable_warning_days_sent"]);
316316
return ["idlelock" => $idlelock, "disable" => $disable];
317317
default:
318-
throw new RecordNotUniqueException("uid='$uid'");
318+
throw new \Exception("multiple records found with uid='$uid'");
319319
}
320320
}
321321

0 commit comments

Comments
 (0)