fs: add debug to show when a backend is being created
See: https://forum.rclone.org/t/rclone-rc-backend-command-not-working-as-expected/18834/
This commit is contained in:
parent
e54ce35019
commit
c31defbbd3
1 changed files with 1 additions and 0 deletions
1
fs/fs.go
1
fs/fs.go
|
@ -1330,6 +1330,7 @@ func ConfigFs(path string) (fsInfo *RegInfo, configName, fsPath string, config *
|
||||||
// On Windows avoid single character remote names as they can be mixed
|
// On Windows avoid single character remote names as they can be mixed
|
||||||
// up with drive letters.
|
// up with drive letters.
|
||||||
func NewFs(path string) (Fs, error) {
|
func NewFs(path string) (Fs, error) {
|
||||||
|
Debugf(nil, "Creating backend with remote %q", path)
|
||||||
fsInfo, configName, fsPath, config, err := ConfigFs(path)
|
fsInfo, configName, fsPath, config, err := ConfigFs(path)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
Loading…
Add table
Reference in a new issue