Capturing Errors in dash application

i am new at dash application development. i am deployed my dash applications in AWS server. sometimes it does not load data in to components. it show 500 internal server error. is there any way to capture error logs in server to find the cause of error.

That would be specific to aws.