Skip to content

Commit

Permalink
(#403) Change error message when alias fails to start
Browse files Browse the repository at this point in the history
  • Loading branch information
jibedoubleve committed Dec 31, 2023
1 parent 39ef497 commit bd1418e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lanceur.Infra/Managers/ExecutionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private async Task<IEnumerable<QueryResult>> ExecuteAliasAsync(AliasQueryResult
return ExecuteProcess(query);
}
}
catch (Exception ex) { throw new ApplicationException($"Cannot execute alias '{(query?.Name ?? "NULL")}: {ex.Message}'", ex); }
catch (Exception ex) { throw new ApplicationException($"Cannot execute alias '{(query?.Name ?? "NULL")}'. Check the path of the executable or the URL.", ex); }
}

private IEnumerable<QueryResult> ExecuteProcess(AliasQueryResult query)
Expand Down

0 comments on commit bd1418e

Please sign in to comment.