Okay for the rejection + error message...

I made the changes and the pull request is almost ready excepted that I did not manage to display a message here...

I tried with `QgsDebugMsg()`, but the console didn't print anything...

Can someone help ?