2
0

SWDEV-414594: Improved error message with metrics create.

Change-Id: I3946252efb000f105816a300e638b8338b26defd
Este cometimento está contido em:
Giovanni LB
2023-08-21 23:34:52 -03:00
ascendente c15ad661fa
cometimento 62641013b0
+2 -1
Ver ficheiro
@@ -190,7 +190,8 @@ class Context {
if (obj == NULL) EXC_RAISING(HSA_STATUS_ERROR, "allocation error");
try {
obj->Construct(agent_info, queue, info, info_count, handler, handler_arg);
} catch (...) {
} catch (std::exception& e) {
std::cerr << e.what() << std::endl;
delete obj;
obj = NULL;
std::cerr << "Error: Context Create failed" << std::endl;