satiromarra / vscode-sftp

Super fast sftp/ftp extension for VS Code
Other
23 stars 3 forks source link

Problem opening "error_log" files #96

Open noise3 opened 3 months ago

noise3 commented 3 months ago

Do you read the FAQ?

Describe the bug When I try to open "error_log" file in my ftp server y get this message: "Cannot read properties of null (reading '0')". If I rename it to "error_log.txt" I can open it without problems.

To Reproduce Steps to reproduce the behavior:

  1. Go to ftp server
  2. Click on "error_log" file
  3. See error

Expected behavior I expect to view the content of the file

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Extension Logs from Startup - required

  1. Open User Settings.

    • On Windows/Linux - File > Preferences > Settings
    • On macOS - Code > Preferences > Settings
  2. Set sftp.debug to true and reload vscode.
  3. Reproduce the problem, get the logs from View > Output > sftp.

Captura de pantalla 2024-03-15 191338 Captura de pantalla 2024-03-15 191903

satiromarra commented 3 months ago

@noise3 Is it possible that the file is too large?

noise3 commented 3 months ago

@satiromarra No too large. 5,64KB

Captura de pantalla 2024-03-23 220122