Skip to content
This repository was archived by the owner on Oct 28, 2023. It is now read-only.

Commit d1910a4

Browse files
authored
Merge pull request SHA2017-badge#198 from SHA2017-badge/basvs-suppress-open-file-error
Suppress vfs_native_file open file error
2 parents 9115bc6 + 482cec0 commit d1910a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extmod/vfs_native_file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ STATIC mp_obj_t file_open(fs_user_mount_t *vfs, const mp_obj_type_t *type, mp_ar
185185
assert(vfs != NULL);
186186
int fd = open(fname, mode_x | mode_rw, 0644);
187187
if (fd == -1) {
188-
ESP_LOGE(TAG, "open('%s', '%s'): error %d", fname, mode_s_orig, errno);
188+
ESP_LOGI(TAG, "open('%s', '%s'): error %d", fname, mode_s_orig, errno);
189189
m_del_obj(pyb_file_obj_t, o);
190190
mp_raise_OSError(errno);
191191
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy