add platform info in erro message