mirror of
https://github.com/rclone/rclone.git
synced 2025-08-09 21:57:59 +02:00
acd,box,onedrive,pcloud: remote log.Fatal from NewFs
And replace with error returns.
This commit is contained in:
@ -252,7 +252,7 @@ func NewFs(name, root string, m configmap.Mapper) (fs.Fs, error) {
|
||||
root = parsePath(root)
|
||||
oAuthClient, ts, err := oauthutil.NewClient(name, m, oauthConfig)
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to configure Box: %v", err)
|
||||
return nil, errors.Wrap(err, "failed to configure Box")
|
||||
}
|
||||
|
||||
f := &Fs{
|
||||
|
Reference in New Issue
Block a user