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