Skip to content

Commit 36d0414

Browse files
goto
1 parent 90040cd commit 36d0414

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/profiler.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,8 @@ Error Profiler::start(Arguments& args, bool reset) {
11971197

11981198
if (args._fdtransfer) {
11991199
if (!FdTransferClient::connectToServer(args._fdtransfer_path)) {
1200-
return Error("Failed to initialize FdTransferClient");
1200+
error = Error("Failed to initialize FdTransferClient");
1201+
if (error) goto error1;
12011202
}
12021203
}
12031204

0 commit comments

Comments
 (0)