diff options
| author | Charles Giessen <charles@lunarg.com> | 2020-02-27 15:02:29 -0700 |
|---|---|---|
| committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2020-03-03 15:38:38 -0700 |
| commit | 1af57a3ec4143286f12d32565dcd7ed44f01754c (patch) | |
| tree | b0a7d2ec6f9194b053356b39270876728e34f1e3 /scripts/check_code_format.sh | |
| parent | a553ed74b7fe3d5d14da312d47144ccfc4514a4b (diff) | |
| download | usermoji-1af57a3ec4143286f12d32565dcd7ed44f01754c.tar.xz | |
vulkaninfo: Refactor error handling
Previously, if vulkaninfo encountered any errors, it shut down then
and there. This is bad for json output where you are left with an
invalid file. By using exceptions, vulkaninfo will catch errors,
print it to cerr, then finish off the file so its left in a valid
state.
Change-Id: I2c0116b435713df6135b9c606fa95cfadbfdf8d8
Diffstat (limited to 'scripts/check_code_format.sh')
0 files changed, 0 insertions, 0 deletions
