I have a code in which I assign a few variables and then the corresponding template is called and displayed. But in one of the cases, the controller doesn't reach the template and I get an error
The page you are looking for is temporarily unavailable.Please try again later.
I have tried to debug it, and found that the code always reaches untill the last line of the action whereas the template isn't shown.
How can this be solved?