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:
parent
ccc3d07d9e
commit
3354a9cc67
@ -1155,7 +1155,7 @@ BApplication::ScriptReceived(BMessage *message, int32 index,
|
||||
return false;
|
||||
}
|
||||
if (err < B_OK) {
|
||||
reply.what = B_ERROR;
|
||||
reply.what = B_MESSAGE_NOT_UNDERSTOOD;
|
||||
reply.AddString("message", strerror(err));
|
||||
}
|
||||
reply.AddInt32("error", err);
|
||||
|
Loading…
Reference in New Issue
Block a user