Fix path of ladish log file that is announced when error occures
This commit is contained in:
parent
c5b384a80e
commit
45c73b34ac
|
@ -915,7 +915,7 @@ static bool run(void * command_context)
|
|||
log_error("XML_ParseBuffer() failed.");
|
||||
}
|
||||
|
||||
ladish_notify_simple(LADISH_NOTIFY_URGENCY_HIGH, "Studio load failed", "Please inspect the ladishd log (~/.ladish/ladish.log) for more info");
|
||||
ladish_notify_simple(LADISH_NOTIFY_URGENCY_HIGH, "Studio load failed", LADISH_CHECK_LOG_TEXT);
|
||||
ladish_studio_clear();
|
||||
XML_ParserFree(parser);
|
||||
close(fd);
|
||||
|
@ -928,7 +928,7 @@ static bool run(void * command_context)
|
|||
if (parse_context.error)
|
||||
{
|
||||
ladish_studio_clear();
|
||||
ladish_notify_simple(LADISH_NOTIFY_URGENCY_HIGH, "Studio load failed", "Please inspect the ladishd log (~/.ladish/ladish.log) for more info");
|
||||
ladish_notify_simple(LADISH_NOTIFY_URGENCY_HIGH, "Studio load failed", LADISH_CHECK_LOG_TEXT);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -449,7 +449,7 @@ free_filenames:
|
|||
exit:
|
||||
if (!ret)
|
||||
{
|
||||
ladish_notify_simple(LADISH_NOTIFY_URGENCY_HIGH, "Studio save failed", "Please inspect the ladishd log (~/.ladish/ladish.log) for more info");
|
||||
ladish_notify_simple(LADISH_NOTIFY_URGENCY_HIGH, "Studio save failed", LADISH_CHECK_LOG_TEXT);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
|
@ -38,6 +38,8 @@
|
|||
#define BASE_DIR "/." BASE_NAME
|
||||
extern char * g_base_dir;
|
||||
|
||||
#define LADISH_CHECK_LOG_TEXT "Please inspect the ladishd log (~/.log/ladish/ladish.log) for more info"
|
||||
|
||||
/* connection between two ports */
|
||||
/* virtual connection is connection where at least one the ports is virtual */
|
||||
/* superconnection is connection that implements virtual connection chain at JACK level */
|
||||
|
|
|
@ -753,7 +753,7 @@ exit:
|
|||
if (!ret)
|
||||
{
|
||||
ladish_room_unload_project(room_handle);
|
||||
ladish_notify_simple(LADISH_NOTIFY_URGENCY_HIGH, "Project load failed", "Please inspect the ladishd log (~/.ladish/ladish.log) for more info");
|
||||
ladish_notify_simple(LADISH_NOTIFY_URGENCY_HIGH, "Project load failed", LADISH_CHECK_LOG_TEXT);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue