add wrong usage exception

This commit is contained in:
crazywhalecc
2023-03-29 21:39:36 +08:00
parent d31e1b00e8
commit b0ac50941f
13 changed files with 67 additions and 18 deletions

View File

@@ -196,7 +196,7 @@ class Patcher
case 'x86_64':
break;
default:
throw new RuntimeException('unsupported arch: ' . $builder->arch);
throw new RuntimeException('unsupported arch while patching php configure: ' . $builder->arch);
}
}
}