fix #SPOI-2162 DFS error message
Merge pull request #840 from nickholub/q7

fix #SPOI-2162 DFS error message