Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gdrive_api.rs:373:22:called Option::unwrap() on a None value #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

c3t4r4
Copy link

@c3t4r4 c3t4r4 commented Jan 28, 2025

[2025-01-28T19:48:39Z INFO  rustfoil_cli] Generating Index for 1 Google Drive Folders
[2025-01-28T19:48:39Z INFO  rustfoil_cli] Scanning Google Drive... this may take a while
[2025-01-28T19:48:53Z INFO  rustfoil_cli] Scanned a total of 967 file(s) & 16 folder(s)
[2025-01-28T19:48:53Z INFO  rustfoil_cli] Index file generated at "/var/www/gshop/index.tfl", using no compression & no encryption
thread 'main' panicked at /home/runner/work/rustfoil/rustfoil/rustfoil-lib/src/gdrive/gdrive_api.rs:373:22:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

after fix :

[2025-01-28T20:08:10Z INFO  rustfoil_cli] Generating Index for 1 Google Drive Folders
[2025-01-28T20:08:10Z INFO  rustfoil_cli] Scanning Google Drive... this may take a while
[2025-01-28T20:08:27Z INFO  rustfoil_cli] Scanned a total of 967 file(s) & 16 folder(s)
[2025-01-28T20:08:27Z INFO  rustfoil_cli] Index file generated at "/var/www/gshop/index.tfl", using no compression & no encryption
[2025-01-28T20:08:30Z INFO  rustfoil_cli] Uploaded Index to doidela
[2025-01-28T20:08:30Z INFO  rustfoil_cli] Execution took 00:00:19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant