I think the spacing should be like this:
```javascript
try {
  jsonObject = JSON.parse(data);
} catch(e) {
  return logger.error("Syntax error in node configuration file: " + e.message);
}
```