Skip to content

Commit 546dfe1

Browse files
committed
The value describes the exception, not queue
1 parent aca59eb commit 546dfe1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pfctl_worker.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -131,19 +131,19 @@ message_queue *attach_pfctl_queue() {
131131
continue;
132132
} else {
133133
log(MessageType::MSG_INFO,
134-
fmt::sprintf("pfctl_worker: Interprocess Exception while "
135-
"waiting for queue %d",
134+
fmt::sprintf("pfctl_worker: Interprocess Exception %d "
135+
"while waiting for queue",
136136
int(ex.get_error_code())));
137137
}
138138
} catch (const runtime_error &ex) {
139139
// speciffic handling for runtime_error
140140
log(MessageType::MSG_INFO,
141-
fmt::sprintf("pfctl_worker: Exception while waiting for queue %s",
141+
fmt::sprintf("pfctl_worker: Exception %s while waiting for queue",
142142
ex.what()));
143143
} catch (const exception &ex) {
144144
// std::runtime_error which is handled explicitly
145145
log(MessageType::MSG_INFO,
146-
fmt::sprintf("pfctl_worker: Exception while waiting for queue %s",
146+
fmt::sprintf("pfctl_worker: Exception %s while waiting for queue",
147147
ex.what()));
148148
}
149149
break;

0 commit comments

Comments
 (0)