B_MESSAGE_NOT_UNDERSTOOD is better than B_ERROR for what fields
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18934 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1155,7 +1155,7 @@ BApplication::ScriptReceived(BMessage *message, int32 index,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (err < B_OK) {
|
if (err < B_OK) {
|
||||||
reply.what = B_ERROR;
|
reply.what = B_MESSAGE_NOT_UNDERSTOOD;
|
||||||
reply.AddString("message", strerror(err));
|
reply.AddString("message", strerror(err));
|
||||||
}
|
}
|
||||||
reply.AddInt32("error", err);
|
reply.AddInt32("error", err);
|
||||||
|
|||||||
Reference in New Issue
Block a user