Skip to content

Commit

Permalink
Merge pull request #177 from shikokuchuo/message
Browse files Browse the repository at this point in the history
Updates crew error messages
  • Loading branch information
wlandau authored Jul 31, 2024
2 parents e62928e + c9296f7 commit e69457c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ Imports:
data.table,
getip,
later,
mirai (>= 0.12.0),
nanonext (>= 0.12.0),
mirai (>= 1.0.0),
nanonext (>= 1.0.0),
processx,
promises,
ps,
Expand Down
6 changes: 1 addition & 5 deletions R/utils_mirai.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ daemons_info <- function(name, seconds_interval, seconds_timeout) {
}

daemons_error <- function(daemons, name) {
message <- sprintf(
"'errorValue' int %d | %s\n",
daemons,
nanonext::nng_error(daemons)
)
message <- sprintf("'errorValue' int %s\n", nanonext::nng_error(daemons))
pid <- mirai::nextget("pid", .compute = name)
exists <- !is.null(pid) &&
!inherits(
Expand Down

0 comments on commit e69457c

Please sign in to comment.