]> git.ipfire.org Git - thirdparty/asterisk.git/commit
main/sorcery: Provide log messages when a wizard does not support an operation 49/849/3
authorMatt Jordan <mjordan@digium.com>
Wed, 8 Jul 2015 21:32:25 +0000 (16:32 -0500)
committerMatt Jordan <mjordan@digium.com>
Wed, 15 Jul 2015 00:15:13 +0000 (19:15 -0500)
commit2e4bdbd78adb4df16af1132df8e58f464e039cd4
treea5ce386d9c0689936d51e27e37b28379096fd016
parent1aafadf8148a7cf66f73beeb6fe711d98b678fc5
main/sorcery: Provide log messages when a wizard does not support an operation

If a sorcery wizard does not support one of the 'optional' CRUD
operations (namely the CUD), log a WARNING message so we are aware of
why the operation failed. This also removes an assert in this case, as
the CUD operation may have been triggered by an external system, in
which case it is not a programming error but a configuration error.

Change-Id: Ifecd9df946d9deaa86235257b49c6e5e24423b53
main/sorcery.c