ivylabs / suitecrm-data-integration

6 stars 5 forks source link

Update setup script to include error messages #19

Closed harrisward closed 4 years ago

harrisward commented 4 years ago

When the setup script fails to complete we should inform the user that the error has happened. We could also output the error from the particular log file to the screen to be passed on to the DEV team for better debugging

harrisward commented 4 years ago

Outputting the ETL error log comes with a whole lot of ETL engine startup output that can be confusing for users. Need to possibly add log steps to the ETL to output where exactly the error is. Maybe some bash scripting to cust the error log apart based on the ETL log step message

harrisward commented 4 years ago

Errors are output to the screen when testing DB connections and creating the tables. To test this we need to setup the install.properties with incorrect values (wrong mysql username, password, database) or edit the DDL to throw an error on purpose

harrisward commented 4 years ago

Tested and working