Skip to content

Commit

Permalink
Merge pull request #434 from jibedoubleve/issue/403
Browse files Browse the repository at this point in the history
(#403) Change error message when alias fails to start
  • Loading branch information
jibedoubleve authored Dec 31, 2023
2 parents 39ef497 + bd1418e commit 59005d3
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 59005d3

Please sign in to comment.