diff options
author | Waqas Hussain <waqas20@gmail.com> | 2013-04-22 11:54:15 -0400 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2013-04-22 11:54:15 -0400 |
commit | c6bc3b2fee0af0eef6c033fdc7acca3007c5b910 (patch) | |
tree | eed4e90fb1266ac0bc7c50cbdf4ab82e640a12ab /core/storagemanager.lua | |
parent | 9d42ca7c539cd06c8648f2e89fb552e573d8bc88 (diff) | |
download | prosody-c6bc3b2fee0af0eef6c033fdc7acca3007c5b910.tar.gz prosody-c6bc3b2fee0af0eef6c033fdc7acca3007c5b910.zip |
storagemanager: Fix traceback in logging when store type is nil, and store is unsupported.
Diffstat (limited to 'core/storagemanager.lua')
-rw-r--r-- | core/storagemanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/storagemanager.lua b/core/storagemanager.lua index 36a671be..1c82af6d 100644 --- a/core/storagemanager.lua +++ b/core/storagemanager.lua @@ -86,7 +86,7 @@ function open(host, store, typ) if not ret then if err == "unsupported-store" then log("debug", "Storage driver %s does not support store %s (%s), falling back to null driver", - driver_name, store, typ); + driver_name, store, typ or "<nil>"); ret = null_storage_driver; err = nil; end |