diff options
author | Martin Capitanio <capnm@capitanio.org> | 2019-01-20 04:09:52 +0100 |
---|---|---|
committer | Martin Capitanio <capnm@capitanio.org> | 2019-01-20 04:19:12 +0100 |
commit | a6ab7a91efdbcb2365270746ec8acd1aa330c276 (patch) | |
tree | f27bc8c41664f3fa7c0efcfb7e3bc67ef1f83fea /main/timer_sync.h | |
parent | 7f9209781cea7148934a5e48c5c14167ce256cc8 (diff) |
Print the path of a corrupt image
After scanning a path in the project manager or starting a project it is not clear which
image can not be loaded.
After errors
```
ERROR: _png_error_function: Not a PNG file
At: drivers/png/image_loader_png.cpp:62.
libpng error: Not a PNG file
ERROR: _load_image: PNG Corrupted
At: drivers/png/image_loader_png.cpp:94.
```
add
```
ERROR: load_image: Error loading image: path/bad.png
At: core/io/image_loader.cpp:69.
```
Diffstat (limited to 'main/timer_sync.h')
0 files changed, 0 insertions, 0 deletions