Hi,
Thank you for your suggestion.
Currently, the MB Views extension uses a parser to parse the Twig code (View content) to the PHP code and run on your server. In this case, it's so hard to point the error on an exact line like using PHP code, you have to read the log to find the error on your code.
I will inform the development team to consider supporting this feature in future updates.