Skip to content

Commit 336e871

Browse files
authored
Update internal/http/services/appprovider/appprovider.go
1 parent cc41e7b commit 336e871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/http/services/appprovider/appprovider.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ func (s *svc) handleNew(w http.ResponseWriter, r *http.Request) {
238238

239239
if touchRes.Status.Code != rpc.Code_CODE_OK {
240240
if touchRes.Status.Code == rpc.Code_CODE_PERMISSION_DENIED {
241-
writeError(w, r, appErrorPermissionDenied, "touching the file failed", nil)
241+
writeError(w, r, appErrorPermissionDenied, "permission denied to create the file", nil)
242242
return
243243
}
244244
writeError(w, r, appErrorServerError, "touching the file failed", nil)

0 commit comments

Comments
 (0)