Skip to content

Commit

Permalink
Merge pull request #374 from romainfrancois/xin_memory_history_manage…
Browse files Browse the repository at this point in the history
…r__get_range_impl

set evalue rather than ename twice
  • Loading branch information
JohanMabille authored Dec 15, 2023
2 parents 170097c + 4ecfe89 commit 0a46f1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xin_memory_history_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ namespace xeus
if (start > stop || start > hist_size)
{
reply["status"] = "error";
reply["ename"] = "history_request_error";
reply["ename"] = "get_range: start is too high given stop or current history";
reply["ename"] = "history_request_error";
reply["evalue"] = "get_range: start is too high given stop or current history";

return reply;
}
Expand Down

0 comments on commit 0a46f1a

Please sign in to comment.