mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-08 06:48:41 +00:00
report unsuccessful writes
This commit is contained in:
+8
-1
@@ -1177,9 +1177,16 @@ rb_thread_entry_point(void *p)
|
||||
{
|
||||
if(output_path.size != 0) ProfScope("write outputs [file]")
|
||||
{
|
||||
os_write_data_list_to_file_path(output_path, output_blobs);
|
||||
B32 is_written = os_write_data_list_to_file_path(output_path, output_blobs);
|
||||
if(is_written)
|
||||
{
|
||||
log_infof("Results written to %S", output_path);
|
||||
}
|
||||
else
|
||||
{
|
||||
log_user_errorf("ERROR: failed to write file %S\n", output_path);
|
||||
}
|
||||
}
|
||||
else ProfScope("write outputs [stdout]")
|
||||
{
|
||||
for(String8Node *n = output_blobs.first; n != 0; n = n->next)
|
||||
|
||||
Reference in New Issue
Block a user