Fix wrong error value 18/255218/1
authorInHong Han <inhong1.han@samsung.com>
Mon, 15 Mar 2021 08:33:24 +0000 (17:33 +0900)
committerInHong Han <inhong1.han@samsung.com>
Mon, 15 Mar 2021 08:35:37 +0000 (17:35 +0900)
Change-Id: I3ee112f10ae36ca3b13f71bcfa4b44bbed3f56bb

client/src/sticker_provider.c

index c975366..079eaaa 100644 (file)
@@ -444,7 +444,7 @@ EXPORT_API int sticker_provider_set_group_image(sticker_provider_h provider_hand
 
         if (access(file_path, F_OK) != 0) {
             LOGE("%s does not exist", file_path);
-            ret = STICKER_ERROR_OPERATION_FAILED;
+            ret = STICKER_ERROR_NO_SUCH_FILE;
             goto cleanup;
         }
     }